#include "StdAfx.h"
#include "Product.h"
#include <iostream>
using namespace std;

//constuctor(void).
Product::Product(void)
{
	cout<<name<<" was created."<<endl;
}

//destructor.
Product::~Product(void)
{
	cout<<name<<" was destroy"<<endl;
}

//constructor with param-s.
Product::Product(char* name,int count)
{
	this->name = name;
	this->count = count;
	cout<<name<<" was created"<<endl;
}




